Send a Text Message (SMS) - C#

Sample code to send an SMS text message:

var client = new PayliteMessaging.Client.MessagingClient();

var response = client.SendSms(new Sms

{

ApiKey = "Your API Key",

CountryCode = "Country Code",

ToNumber = "To Mobile Number",

TextMessage = "Text Message Content"

});